<template>
  <div class="app-container">
    <img src="../../assets/image/banner.jpg" alt="" class="bg" />
  </div>
</template>

<script>
import { mapGetters } from "vuex";

export default {
  data() {
    return {
      username: "",
      content: "",
      roleId: "",
    };
  },
  mounted() {
    let roles = JSON.parse(sessionStorage.getItem("roles"));
    this.username = roles.username;
    // this.getManual()
  },
  methods: {},
  computed: {
    ...mapGetters(["name"]),
    ...mapGetters(["introduction"]),
  },
};
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
.bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
</style>
